
	<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
		<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
			<div class="copy">
			
				<?php if(pagelines('pagetitles')):?>
					<h3 class="pagetitle"><?php the_title(); ?></h3>
				<?php endif;?>
				<div class="entry">

					<?php the_content('<p class="serif">Read the rest of this page &raquo;</p>'); ?>
					<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
		
					<?php edit_post_link('Edit this entry.', '<span>', '</span>'); ?>
				</div>
			</div>			
		</div>
	<?php endwhile; endif; ?>
	
	<div class="copy">
	<?php if(get_post_meta($post->ID, 'content_sidebar', true) && VPRO):?>
		<div id="content_sidebar">
			<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('content_sidebar') ) : ?>
					<?php _e('The content sidebar has been activated on this page but doesn\'t have any widgets added to it. Add some widgets to this sidebar in appearance &gt; widgets in the admin.');?>
			<?php endif; ?>
		</div>
	<?php endif;?>

	<div class="clear"></div>
	
		<?php if(get_post_meta($post->ID, 'pagecomments', true) && VPRO):?> <?php comments_template(); ?> 
		<?php elseif(!VPRO):?> <?php comments_template(); ?> 
		<?php endif;?>
	</div>
